package com.baizhi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class User  implements Serializable {
    private int userId;
    private String userTelphone;
    private String userPassword;
    private String  userImage;
    private String userNickName;
    private String userName;
    private String userSex;
    private String userAutograph;
    private String userProvince;
    private String userCity;
    private int guruId;
    private int userStatus;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date userCreatDate;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userTelphone='" + userTelphone + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userImage='" + userImage + '\'' +
                ", userNickName='" + userNickName + '\'' +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userAutograph='" + userAutograph + '\'' +
                ", userProvince='" + userProvince + '\'' +
                ", userCity='" + userCity + '\'' +
                ", guruId=" + guruId +
                ", userStatus=" + userStatus +
                ", userCreatDate=" + userCreatDate +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserTelphone() {
        return userTelphone;
    }

    public void setUserTelphone(String userTelphone) {
        this.userTelphone = userTelphone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserAutograph() {
        return userAutograph;
    }

    public void setUserAutograph(String userAutograph) {
        this.userAutograph = userAutograph;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public int getGuruId() {
        return guruId;
    }

    public void setGuruId(int guruId) {
        this.guruId = guruId;
    }

    public int getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(int userStatus) {
        this.userStatus = userStatus;
    }

    public Date getUserCreatDate() {
        return userCreatDate;
    }

    public void setUserCreatDate(Date userCreatDate) {
        this.userCreatDate = userCreatDate;
    }

    public User() {
    }

    public User(int userId, String userTelphone, String userPassword, String userImage, String userNickName, String userName, String userSex, String userAutograph, String userProvince, String userCity, int guruId, int userStatus, Date userCreatDate) {
        this.userId = userId;
        this.userTelphone = userTelphone;
        this.userPassword = userPassword;
        this.userImage = userImage;
        this.userNickName = userNickName;
        this.userName = userName;
        this.userSex = userSex;
        this.userAutograph = userAutograph;
        this.userProvince = userProvince;
        this.userCity = userCity;
        this.guruId = guruId;
        this.userStatus = userStatus;
        this.userCreatDate = userCreatDate;
    }
}
